/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase2203 - For3
 * <p>Powered by webrx On 2022-07-14 10:41:01
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class For3 {
    public static void main(String[] args) {
        for (int i = 0; i < 6; ) {
            i = 1;
            System.out.print(++i);
        }
        System.out.println();
        System.out.println("------------------------");

        for (int i = 0; i < 6; i++) {
            System.out.print(i + 1);
        }
        System.out.println();

        for (int i = 1; i <= 6; i++) {
            System.out.print(i);
        }
        System.out.println();

        for (int i = 1; i < 7; i++) {
            System.out.print(i);
        }
    }
}
